namespace EFS.Common.Generators.Characters
{
	public class Pool : EFS.Common.Generators.Abstract.Characters.Pool
	{
		/// lowcasr characters 
		private static System.String all = "";

		///  Constructor
		public Pool()
		{
		}

		/// Add pool
		public void Add(EFS.Common.Generators.Abstract.Interfaces.Characters.IPool pool)
		{
			EFS.Common.Verify.Reference(pool, "pool");
			System.Text.StringBuilder sb = new System.Text.StringBuilder(all);
			sb.Append(pool.All);
			all = sb.ToString();
		}

		/// Characters in pool 
		public override System.String All
		{
			get { return all; }
		}

		/// Characters in pool 
		public override System.Int32 Count 
		{ 
			get { return  all.Length;} 
		}
	}
}
